﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="chatblog.CommonChat.test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
     

    <script  type ="text/javascript" >
        function $(id) {
            return document.getElementById(id);
        }
        function anchorClick() {
            window.location.href = "CommonChatRoom.aspx?ID="+$("IDText").value+"&Type="+$("TypeText").value;
        }
    </script>
    <style type="text/css" >
    .button
    {
        background-image :url('img/tagleft');
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        Type:<input  type ="text"  value="" id="TypeText"/><br />
        I  D:<input  type ="text"   value ="" id="IDText"/> <br />
        Count:<input type ="text" value="" id="CountText" /><br />        
    </div>
    <div>
          <a onclick ="anchorClick();" >跳转到聊天室</a>
    </div>         <br />
    <div>
         <input  type ="button"  value ="清空" onclick ="chatblog.CommonChat.test.ClearChatData();"/>        <br />
         <input type ="button"  value ="显示人数" onclick ="$('CountText').value=chatblog.CommonChat.test.GetOnLineCount($('IDText').value).value;" />
    </div>
    <div>
        <img  src ="img/closes.png"  style =" float :left ;  "/>
        <h2 style ="clear :both ;">dasfdsadsfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdf<br/>asdfasdfasdfasdfasdf</h2>
    </div>
    <div>
        <input id="File1" type="file" /> 
    </div>
    </form>
</body>
</html>
